package com.aacar.op.entity.order;

import com.aacar.op.entity.CommonEntity;

import java.util.Date;

public class Order extends CommonEntity{
	private String orderNo;
	private String orderStatus;
	private String orderStatusName;
	private String orderSubStatus;
	private String userId;
	private String userName;
	private String nickName;
	private String userPhoneNo;
	private String userSex;
	private String userRankId;
	private String userRankName;
	private String linkman;
	private String linkmanPhoneNo;
	private String washerId;
	private String washerName;
	private String washerSex;
	private String washerPhoneNo;
	private String provinceName;
	private String cityName;
	private String areaName;
	private String roomName;
	private String detailAddress;
	private String carType;
	private String carTypeName;
	private String carLibType;
	private String carLibTypeName;
	private String carNo;
	private String brandName;
	private String seriesName;
	private String bookStartTime;
	private String bookEndTime;
	private String washType;
	private String washTypeName;
	private String productPrice;
	private String userRankPrice;
	private String enjoyPrice;
	private String resultProductPrice;
	private String bookDiscPrice;
	private String couponNo;
	private double couponAmount;
	private double payIntegral;
	private String payType;
	private String payTypeName;
	private double payAmount;
	private String refundStatus;
	private String refundStatusName;
	private double refundAmount;
	private Date RefundTime;

	private String demandStatus;
	private String demandSubStatus;

	private String payStatus;
	private String paySubStatus;

	private double integral;

	private String integralRecordstype;

	private String couponFlag;
	private String couponStatus;

	private String isFirstOrder;

	private String thirdPayCallBackStr;
	private String thirdPayCallBackStrName;

	private String deviceType;

	private String deviceTypeName;

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceTypeName() {
		if("andriod_aacar_client".equals(deviceType)){
			deviceTypeName = "安卓";
		}else if("ios_aacar_client".equals(deviceType)){
			deviceTypeName = "苹果";
		}
		return deviceTypeName;
	}

	public void setDeviceTypeName(String deviceTypeName) {
		this.deviceTypeName = deviceTypeName;
	}

	public String getDetailAddress() {
		return detailAddress;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	public String getThirdPayCallBackStrName() {
		if(thirdPayCallBackStr!=null){
			thirdPayCallBackStrName = "已支付";
		}else{
			thirdPayCallBackStrName = "未支付";
		}
		return thirdPayCallBackStrName;
	}

	public void setThirdPayCallBackStrName(String thirdPayCallBackStrName) {
		this.thirdPayCallBackStrName = thirdPayCallBackStrName;
	}

	public String getThirdPayCallBackStr() {
		return thirdPayCallBackStr;
	}

	public void setThirdPayCallBackStr(String thirdPayCallBackStr) {
		this.thirdPayCallBackStr = thirdPayCallBackStr;
	}

	public String getIsFirstOrder() {
		return isFirstOrder;
	}

	public void setIsFirstOrder(String isFirstOrder) {
		this.isFirstOrder = isFirstOrder;
	}

	public String getPayTypeName() {
		if("1".equals(payType)){
			payTypeName="支付宝";
		}else if("2".equals(payType)){
			payTypeName="微信";
		}
		return payTypeName;
	}

	public void setPayTypeName(String payTypeName) {
		this.payTypeName = payTypeName;
	}

	public String getRefundStatusName() {
		if("1".equals(refundStatus)){
			refundStatusName="待退款";
		}else if("2".equals(refundStatus)){
			refundStatusName="已退款";
		}
		return refundStatusName;
	}

	public void setRefundStatusName(String refundStatusName) {
		this.refundStatusName = refundStatusName;
	}

	public String getWashTypeName() {
		if("1".equals(washType)){
			washTypeName = "预约洗";
		}else if("2".equals(washType)){
			washTypeName = "即时洗";
		}
		return washTypeName;
	}

	public void setWashTypeName(String washTypeName) {
		this.washTypeName = washTypeName;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getCarNo() {
		return carNo;
	}

	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}

	public String getCarTypeName() {
		return carType+"类";
	}

	public void setCarTypeName(String carTypeName) {
		this.carTypeName = carTypeName;
	}

	public String getCarLibTypeName() {
		if("1".equals(carLibType)){
			carLibTypeName = "轿车";
		}else if("2".equals(carLibType)){
			carLibTypeName = "SUV";
		}else if("3".equals(carLibType)){
			carLibTypeName = "MPV";
		}
		return carLibTypeName;
	}

	public void setCarLibTypeName(String carLibTypeName) {
		this.carLibTypeName = carLibTypeName;
	}

	public String getUserRankName() {
		if("1".equals(getUserRankId())){
			userRankName = "普通会员";
		}else if("2".equals(getUserRankId())){
			userRankName = "银牌会员";
		}
		return userRankName;
	}

	public void setUserRankName(String userRankName) {
		this.userRankName = userRankName;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getCouponFlag() {
		return couponFlag;
	}

	public void setCouponFlag(String couponFlag) {
		this.couponFlag = couponFlag;
	}

	public String getCouponStatus() {
		return couponStatus;
	}

	public void setCouponStatus(String couponStatus) {
		this.couponStatus = couponStatus;
	}

	public Date getRefundTime() {
		return RefundTime;
	}

	public void setRefundTime(Date refundTime) {
		RefundTime = refundTime;
	}

	public String getIntegralRecordstype() {
		return integralRecordstype;
	}

	public void setIntegralRecordstype(String integralRecordstype) {
		this.integralRecordstype = integralRecordstype;
	}

	public double getIntegral() {
		return integral;
	}

	public void setIntegral(double integral) {
		this.integral = integral;
	}

	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	public String getPaySubStatus() {
		return paySubStatus;
	}

	public void setPaySubStatus(String paySubStatus) {
		this.paySubStatus = paySubStatus;
	}

	public String getDemandStatus() {
		return demandStatus;
	}

	public void setDemandStatus(String demandStatus) {
		this.demandStatus = demandStatus;
	}

	public String getDemandSubStatus() {
		return demandSubStatus;
	}

	public void setDemandSubStatus(String demandSubStatus) {
		this.demandSubStatus = demandSubStatus;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderStatusName() {
		return orderStatusName;
	}

	public void setOrderStatusName(String orderStatusName) {
		this.orderStatusName = orderStatusName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getUserPhoneNo() {
		return userPhoneNo;
	}

	public void setUserPhoneNo(String userPhoneNo) {
		this.userPhoneNo = userPhoneNo;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserRankId() {
		return userRankId;
	}

	public void setUserRankId(String userRankId) {
		this.userRankId = userRankId;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getLinkmanPhoneNo() {
		return linkmanPhoneNo;
	}

	public void setLinkmanPhoneNo(String linkmanPhoneNo) {
		this.linkmanPhoneNo = linkmanPhoneNo;
	}

	public String getWasherId() {
		return washerId;
	}

	public void setWasherId(String washerId) {
		this.washerId = washerId;
	}

	public String getWasherName() {
		return washerName;
	}

	public void setWasherName(String washerName) {
		this.washerName = washerName;
	}

	public String getWasherSex() {
		if("1".equals(washerSex)){
			washerSex = "男";
		}else if("2".equals(washerSex)){
			washerSex = "女";
		}
		return washerSex;
	}

	public void setWasherSex(String washerSex) {
		this.washerSex = washerSex;
	}

	public String getWasherPhoneNo() {
		return washerPhoneNo;
	}

	public void setWasherPhoneNo(String washerPhoneNo) {
		this.washerPhoneNo = washerPhoneNo;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public String getCarLibType() {
		return carLibType;
	}

	public void setCarLibType(String carLibType) {
		this.carLibType = carLibType;
	}

	public String getBookStartTime() {
		return bookStartTime;
	}

	public void setBookStartTime(String bookStartTime) {
		this.bookStartTime = bookStartTime;
	}

	public String getBookEndTime() {
		return bookEndTime;
	}

	public void setBookEndTime(String bookEndTime) {
		this.bookEndTime = bookEndTime;
	}

	public String getWashType() {
		return washType;
	}

	public void setWashType(String washType) {
		this.washType = washType;
	}

	public String getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(String productPrice) {
		this.productPrice = productPrice;
	}

	public String getUserRankPrice() {
		return userRankPrice;
	}

	public void setUserRankPrice(String userRankPrice) {
		this.userRankPrice = userRankPrice;
	}

	public String getEnjoyPrice() {
		return enjoyPrice;
	}

	public void setEnjoyPrice(String enjoyPrice) {
		this.enjoyPrice = enjoyPrice;
	}

	public String getResultProductPrice() {
		return resultProductPrice;
	}

	public void setResultProductPrice(String resultProductPrice) {
		this.resultProductPrice = resultProductPrice;
	}

	public String getBookDiscPrice() {
		return bookDiscPrice;
	}

	public void setBookDiscPrice(String bookDiscPrice) {
		this.bookDiscPrice = bookDiscPrice;
	}

	public String getCouponNo() {
		return couponNo;
	}

	public void setCouponNo(String couponNo) {
		this.couponNo = couponNo;
	}

	public double getCouponAmount() {
		return couponAmount;
	}

	public void setCouponAmount(double couponAmount) {
		this.couponAmount = couponAmount;
	}

	public double getPayIntegral() {
		return payIntegral;
	}

	public void setPayIntegral(double payIntegral) {
		this.payIntegral = payIntegral;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public double getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(double payAmount) {
		this.payAmount = payAmount;
	}

	public String getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(String refundStatus) {
		this.refundStatus = refundStatus;
	}

	public double getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(double refundAmount) {
		this.refundAmount = refundAmount;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderSubStatus() {
		return orderSubStatus;
	}

	public void setOrderSubStatus(String orderSubStatus) {
		this.orderSubStatus = orderSubStatus;
	}
}
